﻿using Harmontronics.Model.Dto;
using Harmontronics.Model.Dto.Model;
using Harmontronics.Model.Entitys;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Harmontronics.IService.Business
{
    public interface IRecipeService
    {
        public List<RecipeModel> MendingRange(List<Recipe> entities);
        public RecipeModel Mending(Recipe entity);
        //查询
        public List<Recipe> GetAllRecipes();
        public Recipe GetRecipeById(string id);
        public bool addRecipe(Recipe entity);
        public bool updateRecipe(Recipe model);
        public bool DeleteRecipe(string id);
        public bool BatchDelRecipe(List<string> ids);
    }
}
